﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/View/Shared/RightFrame.Master" CodeBehind="ChangePassword.aspx.cs" Inherits="Hisun.View.UserAccount.ChangePassword" %>

<asp:Content ContentPlaceHolderID="contentHolder" ID="main" runat="server">             
        <table style="width:100%;">
            <tr>
                <td>
                    <asp:Label ID="Label1" runat="server" Text="原密码："></asp:Label></td>
                <td>
       
        <asp:TextBox ID="txtOldPwd" runat="server" TextMode="Password"></asp:TextBox> <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
            ControlToValidate="txtOldPwd" ErrorMessage="必须输入原密码"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                     <asp:Label ID="Label2" runat="server" Text="新密码："></asp:Label></td>
                <td>
      
        <asp:TextBox ID="txtNewPwd1" runat="server" TextMode="Password"></asp:TextBox><asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
            ControlToValidate="txtNewPwd1" ErrorMessage="必须输入新密码"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                           <asp:Label ID="Label3" runat="server" Text="再次输入新密码："></asp:Label></td>
                <td>
                    <asp:TextBox ID="txtNewPwd2" runat="server" TextMode="Password"></asp:TextBox> <asp:CompareValidator ID="CompareValidator1" runat="server" 
            ControlToCompare="txtNewPwd1" ControlToValidate="txtNewPwd2" 
            ErrorMessage="新密码输入不一致"></asp:CompareValidator> </td>
            </tr>
            <tr>
                <td>
                   <asp:Label ID="labMsg" runat="server" ForeColor="Red"></asp:Label></td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                        <asp:Button ID="Button1" runat="server" onclick="lnkBtnChangePwd_Click" 
                            Text="修改密码" />
                </td>
                <td>
                    &nbsp;</td>
            </tr>
        </table>
        <br />
</asp:Content>